import 'dart:async';
import './path_plan_event.dart';
///@className animate_polyline_controller
///@author liaoyu
///@version 1.0.0
///@description 控制器
///@createTime 2021/1/8 10:43
class PathPlanController{
  StreamController<PathPlanEvent> streamController;
  void start(){//开始
    streamController?.add(PathPlanEvent.start());
  }
  void stop(){//暂停
    streamController?.add(PathPlanEvent.stop());
  }
  void cancel(){//取消
    streamController?.add(PathPlanEvent.cancel());
  }
}